🌐 RESTful API 完整生命週期展示
Client Request (JSON) ➔ Network ➔ Spring Boot Controller ➔ JSON Response
💻 Client (Browser / JS Fetch)
1. API Endpoint (請求方法與目標網址)
GET
POST
2. Request Body (JSON 負載資料 - 僅 POST 可用)
{ "name": "Rui Zhao", "major": "Computer Science" }
發送 Request 🚀
4. Client 接收到的 Response 成果
⚙️ Server (Spring Boot)
Spring Boot Application Started on port 8080
等待接收請求...
[System]
網路監聽已啟動,請操作 Client 面板發送請求。